/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.mdlalo.leastknowledge;

/**
 *
 * @author Administrator
 */
public class Parent extends Person
{
    private String pName;
    private int Age;

    public int getAge() {
        return Age;
    }

    public void setAge(int Age) {
        this.Age = Age;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }
    
    public int salaryPaid()
    {
        return 5000;
    }
    
}
